import request from '@/utils/request'

// 查询教学评价考试结果列表
export function listAppraiseRecord(query) {
  return request({
    url: '/edu/appraiseRecord/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价考试结果详细
export function getAppraiseRecord(recordId) {
  return request({
    url: '/edu/appraiseRecord/' + recordId,
    method: 'get'
  })
}

// 新增教学评价考试结果
export function addAppraiseRecord(data) {
  return request({
    url: '/edu/appraiseRecord',
    method: 'post',
    data: data
  })
}

// 修改教学评价考试结果
export function updateAppraiseRecord(data) {
  return request({
    url: '/edu/appraiseRecord',
    method: 'put',
    data: data
  })
}

// 删除教学评价考试结果
export function delAppraiseRecord(recordId) {
  return request({
    url: '/edu/appraiseRecord/' + recordId,
    method: 'delete'
  })
}

// 导出教学评价考试结果
export function exportAppraiseRecord(query) {
  return request({
    url: '/edu/appraiseRecord/export',
    method: 'get',
    params: query
  })
}